/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cs575.wido;

import cs575.client.GroupEx;
import cs575.client.GroupMember;
import cs575.client.Session;
import cs575.client.Task;
import java.util.List;

/**
 *
 * @author kevincheung
 */
public class GroupTaskListFactory implements TaskListFactory {
	private GroupEx group;
	
	public GroupTaskListFactory(GroupEx group) {
		this.group = group;
	}

	@Override
	public List<Task> getTaskList() {
		cs575.client.WiDo wido = WebServiceFactory.getPort();
		Session session = UserSession.getInstance().getSession();
		List<Task> tu = wido.getGroupTasks(session, group.getGroupId());
		return null;
	}
	
}
